package com.atguigu.self.gulimall.product.service;

import com.atguigu.self.gulimall.product.entity.SpuInfoDescEntity;
import com.atguigu.self.gulimall.product.vo.SpuSaveVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.self.common.utils.PageUtils;
import com.atguigu.self.gulimall.product.entity.SpuInfoEntity;

import java.util.Map;

/**
 * spu信息
 *
 * @author lixinyang
 * @email lixinyang@gmail.com
 * @date 2021-02-06 14:29:44
 */
public interface SpuInfoService extends IService<SpuInfoEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 保存商品
     *
     * @param vo
     */
    void saveSpuInfo(SpuSaveVo vo);

    /**
     * 保存spu基本属性
     *
     * @param infoEntity
     */
    void saveBaseSpuInfo(SpuInfoEntity infoEntity);

    PageUtils queryPageByCondition(Map<String, Object> params);
}

